package com.jgp.sys.utils;

import javax.servlet.http.HttpServletRequest;

/**
 * 项目   jgp-cloud-parent
 * 作者   loufei
 * 时间   2019/1/2
 */
public class HttpUtil {
    public static boolean isAjax(HttpServletRequest request) {
        String header = request.getHeader("x-requested-with");
        return null != header;
    }
}
